<template>
  <div>
    <!-- 签到栏 -->
    <div class="ul_box">
      <li>
        <img src="../../assets/tw/tw1.png" />
        <p>签到</p>
      </li>
      <li>
        <img src="../../assets/tw/tw2.png" />
        <p>礼券</p>
      </li>
      <li>
        <img src="../../assets/tw/tw3.png" />
        <p>砍价</p>
      </li>
      <li>
        <img src="../../assets/tw/tw4.png" />
        <p>专栏</p>
      </li>
    </div>

    <!-- 全民砍价 -->
    <div class="box_big">
      <!-- 标题 -->
      <p class="h1" @click="kanjia()">全民砍价&gt;</p>
      <!-- 商品信息 -->
      <div>
          <ul>
              <li></li>
          </ul>
      </div>
    </div>
  </div>
</template>

<script>
export default {
    data() {
        return {
            
        }
    },
    methods: {
        kanjia(){
            this.$router.push({path:'/bargain'});//跳转全民砍价详情
        }
    },
};
</script>

<style lang="scss">
* {
  margin: 0;
  padding: 0;
  list-style: none;
}
body{
    background: rgb(243, 243, 243);
}
// 设置签到栏样式
.ul_box {
  width: 100%;
  height: 2rem;
  background-color: rgb(255, 251, 251);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 40px 50px 0px 0px;
  position: relative;
  top: -0.5rem;
  li {
    width: 25%;
    text-align: center;
  }
}
// 全民砍价
.box_big {
  width: 100%;
  background: white;
  // margin-top: 1px;
  .h1 {
    width: 100%;
    font-size: 0.5rem;
    text-align: center;
    border-bottom: 1px solid gray;
    color: black;
  }
}
</style>